package com.itheima.web;

import com.itheima.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserWeb {
    @Autowired
    private UserService userService;

    public boolean selectByName(String name,String password){
        boolean b = userService.selectByName(name, password);
        return b;
    }
}
